<template>
	<view class="me-card">
		<view class="header">
			<view class="title">{{title}}</view>
			<view> 全部订单</view>
		</view>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String
			}
		}
	}
</script>

<style lang="scss" scoped>
	.me-card {
		background: #fff;
		border-radius: 20rpx;
		color: #666;
	}

	.header {
		padding: 20rpx 20rpx;

		.title {
			flex: 1;
			font-weight: bold;
			color: #000;
		}

		display: flex;
	}
</style>